<?php


namespace app\console\service\goods;



use app\dao\goods\GoodsDao;

class GoodsQueryService
{
    public function getPageList($data)
    {
        $goodsDao = new GoodsDao();
        return $goodsDao->getPageList($data);
    }

    public function getList($data)
    {
        $goodsDao = new GoodsDao();
        return $goodsDao->getAll($data);
    }
}